package com.tamtamy.jttamobile.data;

import java.util.ArrayList;

/**
 * Handles the response to URI calls for <a href="https://tamtamy.reply.it/wiki/API#Tag_detail">Tag Detail</a>. 
 *  
 * @see ArrayList 
 * @author Omar "0m4r" Adobati 
 * @version %I%, %G% 
 * 
 */
public class TagDetail {
	protected String tag;
	protected long count;
	protected ArrayList<String> contents;
	
	public TagDetail(){
		this.tag = null;
		this.count = 0;
		this.contents = new ArrayList<String>();
	}
	
	public TagDetail(String tag, long count, ArrayList<String> contentsid){
		this.tag = tag;
		this.count = count;
		this.contents = contentsid;
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public long getCount() {
		return count;
	}

	public void setCount(long count) {
		this.count = count;
	}

	public ArrayList<String> getContentsid() {
		return contents;
	}

	public void setContentsid(ArrayList<String> contentsid) {
		this.contents = contentsid;
	}
	
	@Override
	public String toString() {
		return "TagDetail [tag=" + tag + ", count=" + count + ", contentsid="
				+ contents + "]";
	}
		
}
